package com.resurvolution.kingcloudmusicspringboot.common.constant;

public class ResultConstant {
    public static final int SUCCESS = 200;
    public static final int ERROR = 500;
    public static final int NO_DATA = 400;
    public static final int FORBIDDEN = 403;
    public static final int NOT_FOUND = 404;
    public static final int UNAUTHORIZED = 401;
    public static final int TOO_MANY_REQUESTS = 429;

    public static final String VERIFY_CODE_ERROR = "验证码错误或验证码已失效";
    public static final String PASSWORD_ERROR = "用户名或密码错误";
    public static final String USER_NOT_FOUND = "用户不存在";
    public static final String FILE_ERROR = "文件上传失败";
    public static final String UPLOAD_SUCCESS = "文件上传成功";
}
